package com.campus.entity.System;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.campus.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色表
 *
 * @TableName sys_role
 */
@TableName(value = "sys_role")
@Data
public class SysRole extends BaseEntity implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableField(value = "name")
    private String name;
    /**
     * 角色权限字符串
     */
    @TableField(value = "role_key")
    private String roleKey;
    /**
     * 角色状态（1正常 0停用）
     */
    @TableField(value = "status")
    private String status;
    /**
     * del_flag
     */
    @TableField(value = "del_flag")
    private Integer delFlag;
    /**
     *
     */
    @TableField(value = "create_by")
    private String createBy;
    /**
     *
     */
    @TableField(value = "update_by")
    private String updateBy;
}